# $Id: PKGBUILD 154275 2012-03-25 09:39:03Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=lcab
pkgver=1.0b12
pkgrel=4
pkgdesc="A program to make Microsoft cabinet files"
arch=('i686' 'x86_64')
license=('GPL')
url="http://ohnopub.net/~ohnobinki/lcab/"
depends=('glibc')
source=("ftp://ohnopublishing.net/mirror/${pkgname}-${pkgver}.tar.gz")
md5sums=('9403e08f53fcf262e25641a9b900d4de')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  install -D -m755 lcab "${pkgdir}/usr/bin/lcab"
}
